import Router from 'koa-router';
import { activityCreateController } from '@/controllers/activity/create';
import { activityListController } from '@/controllers/activity/list';
import { activityParticipateController } from '@/controllers/activity/participate';

export const activityRouter = new Router({ prefix: '/activity' });

activityRouter.post('/create', activityCreateController);

activityRouter.get('/list', activityListController);

activityRouter.post('/participate', activityParticipateController);